/*
 * 易族智汇（北京）科技有限公司 版权所有。
 * 未经许可，您不得使用此文件。
 * 官方地址：www.javamall.com.cn
 */
package com.enation.app.javashop.core.client.feignimpl.goods;


import com.enation.app.javashop.client.goods.TagClient;
import com.enation.app.javashop.core.client.fallback.goods.TagClientFallbackFactory;
import com.enation.app.javashop.core.handler.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 商品标签feign实现
 *
 * @author zh
 * @version v7.0
 * @date 19/3/21 下午3:32
 * @since v7.0
 */
@FeignClient(name = "goods-service", fallbackFactory = TagClientFallbackFactory.class,configuration = {FeignConfiguration.class})
public interface TagClientFeignImpl extends TagClient {

    @Override
    @RequestMapping(value = "/client/goods/tag", method = RequestMethod.POST)
    void addShopTags(@RequestParam("seller_id") Long sellerId);

}
